package com.jd.rapid.rpc.provider.test;

import com.jd.rapid.rpc.client.User;
import com.jd.rapid.rpc.consumer.test.HelloService;

public class HelloServiceImpl implements HelloService {

    @Override
    public String hello(String name) {
        System.out.println("HelloServiceImpl.hello"+name);
        return "hello!"+name;
    }

    @Override
    public String hello(User user) {
        System.out.println("HelloServiceImpl.hello"+user.getName());
        return "hello!"+user.getName();
    }
}
